package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 首页商品推荐表(Recommend)表实体类
 *
 * @author MiaoWenQing
 * @since 2021-02-19 00:17:17
 */
@SuppressWarnings("serial")
public class Recommend extends Model<Recommend> {
    //下标
    @TableId(type = IdType.INPUT)
    private Integer postion;
    //商品id
    private String proId;
    private String recId;


    public Integer getPostion() {
        return postion;
    }

    public void setPostion(Integer postion) {
        this.postion = postion;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getRecId() {
        return recId;
    }

    public void setRecId(String recId) {
        this.recId = recId;
    }

    @Override
    public String toString() {
        return "Recommend{" +
                "postion=" + postion +
                ", proId='" + proId + '\'' +
                ", recId='" + recId + '\'' +
                '}';
    }
}
